<?php

use Illuminate\Database\Seeder;
use App\Models\Hotel;

class HotelsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	for($i=1;$i<=20;$i++){
    		 Hotel::create([
	        	'name' => '测试酒店'.$i,
	        	'username' => 'test'.$i,
	        	'password' => bcrypt('test'.$i)
	        ]);
    	}
       
    }
}
